package org.naxx.security.datatype;

import java.util.Map;

import org.naxx.security.common.Configurable;

public interface DataTypeResolver extends Configurable {
	
	public DataType resolveDataType(String typeUri);
		
	public DataType resolveDataType(Integer typeId);
	
	/**
	 * 
	 * @return read-only view of defined data types, where key is
	 * data type Uri.
	 */
	public Map<String, DataType> getDefinedDataTypes();
}